package bussines;

import model.Movie;
import model.Subtitle;

public class MovSubMatch implements Comparable<MovSubMatch> {

	public MovSubMatch(Movie movie, Subtitle sub, double score) {
		super();
		this.movie = movie;
		this.subtitle = sub;
		this.score = score;
	}

	private Movie movie;
	private Subtitle subtitle;
	private Double score;

	public Movie getMovie() {
		return movie;
	}

	public void setMovie(Movie movie) {
		this.movie = movie;
	}

	public Double getScore() {
		return score;
	}

	public void setScore(Double score) {
		this.score = score;
	}

	public Subtitle getSubtitle() {
		return subtitle;
	}

	public void setSubtitle(Subtitle subtitle) {
		this.subtitle = subtitle;
	}

	public int compareTo(MovSubMatch o) {
		return this.score.compareTo(o.getScore());
	}

	@Override
	public boolean equals(Object o) {
		return (this==o);
		
	}

}
